// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

//引入MintUI
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)

//引入vant
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

import '../src/tools/base.css'


//引入axios
import Axios from 'axios'
//配置基础的url地址
Axios.defaults.baseURL = "http://123.57.130.65:8080";
Vue.prototype.axios=Axios;

//引入vuex
import Vuex  from 'vuex'
Vue.use(Vuex)

import store from "../src/tools/store";


Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
